'Weak Dependency Graph [60.0]'
------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost runtime-complexity with respect to
Rules:
{ f(0()) -> s(0())
, f(s(0())) -> s(0())
, f(s(s(x))) -> f(f(s(x)))}
Details:
We have computed the following set of weak (innermost) dependency pairs:
{ f^#(0()) -> c_0()
, f^#(s(0())) -> c_1()
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
The usable rules are:
{ f(0()) -> s(0())
, f(s(0())) -> s(0())
, f(s(s(x))) -> f(f(s(x)))}
The estimated dependency graph contains the following edges:
{f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
==> {f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
{f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
==> {f^#(s(0())) -> c_1()}
We consider the following path(s):
1) { f^#(s(s(x))) -> c_2(f^#(f(s(x))))
, f^#(s(0())) -> c_1()}
The usable rules for this path are the following:
{ f(0()) -> s(0())
, f(s(0())) -> s(0())
, f(s(s(x))) -> f(f(s(x)))}
We have applied the subprocessor on the union of usable rules and weak (innermost) dependency pairs.
'Weight Gap Principle'
----------------------
Answer: YES(?,O(n^1))
Input Problem: innermost runtime-complexity with respect to
Rules:
{ f(0()) -> s(0())
, f(s(0())) -> s(0())
, f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))
, f^#(s(0())) -> c_1()}
Details:
We apply the weight gap principle, strictly orienting the rules
{ f(s(0())) -> s(0())
, f^#(s(0())) -> c_1()}
and weakly orienting the rules
{}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{ f(s(0())) -> s(0())
, f^#(s(0())) -> c_1()}
Details:
Interpretation Functions:
f(x1) = [1] x1 + [1]
0() = [0]
s(x1) = [1] x1 + [1]
f^#(x1) = [1] x1 + [1]
c_0() = [0]
c_1() = [0]
c_2(x1) = [1] x1 + [0]
Finally we apply the subprocessor
We apply the weight gap principle, strictly orienting the rules
{ f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
and weakly orienting the rules
{ f(s(0())) -> s(0())
, f^#(s(0())) -> c_1()}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{ f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
Details:
Interpretation Functions:
f(x1) = [1] x1 + [1]
0() = [0]
s(x1) = [1] x1 + [9]
f^#(x1) = [1] x1 + [6]
c_0() = [0]
c_1() = [0]
c_2(x1) = [1] x1 + [2]
Finally we apply the subprocessor
'fastest of 'combine', 'Bounds with default enrichment', 'Bounds with default enrichment''
------------------------------------------------------------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost relative runtime-complexity with respect to
Strict Rules: {f(0()) -> s(0())}
Weak Rules:
{ f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))
, f(s(0())) -> s(0())
, f^#(s(0())) -> c_1()}
Details:
The problem was solved by processor 'Bounds with default enrichment':
'Bounds with default enrichment'
--------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost relative runtime-complexity with respect to
Strict Rules: {f(0()) -> s(0())}
Weak Rules:
{ f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))
, f(s(0())) -> s(0())
, f^#(s(0())) -> c_1()}
Details:
The problem is Match-bounded by 0.
The enriched problem is compatible with the following automaton:
{ f_0(3) -> 6
, f_0(6) -> 6
, 0_0() -> 2
, s_0(2) -> 3
, s_0(2) -> 6
, s_0(3) -> 3
, f^#_0(2) -> 4
, f^#_0(3) -> 4
, f^#_0(6) -> 5
, c_1_0() -> 4
, c_1_0() -> 5
, c_2_0(5) -> 4}
2) {f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
The usable rules for this path are the following:
{ f(0()) -> s(0())
, f(s(0())) -> s(0())
, f(s(s(x))) -> f(f(s(x)))}
We have applied the subprocessor on the union of usable rules and weak (innermost) dependency pairs.
'Weight Gap Principle'
----------------------
Answer: YES(?,O(n^1))
Input Problem: innermost runtime-complexity with respect to
Rules:
{ f(0()) -> s(0())
, f(s(0())) -> s(0())
, f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
Details:
We apply the weight gap principle, strictly orienting the rules
{f(s(0())) -> s(0())}
and weakly orienting the rules
{}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{f(s(0())) -> s(0())}
Details:
Interpretation Functions:
f(x1) = [1] x1 + [1]
0() = [0]
s(x1) = [1] x1 + [1]
f^#(x1) = [1] x1 + [1]
c_0() = [0]
c_1() = [0]
c_2(x1) = [1] x1 + [0]
Finally we apply the subprocessor
We apply the weight gap principle, strictly orienting the rules
{ f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
and weakly orienting the rules
{f(s(0())) -> s(0())}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{ f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))}
Details:
Interpretation Functions:
f(x1) = [1] x1 + [1]
0() = [0]
s(x1) = [1] x1 + [9]
f^#(x1) = [1] x1 + [2]
c_0() = [0]
c_1() = [0]
c_2(x1) = [1] x1 + [0]
Finally we apply the subprocessor
'fastest of 'combine', 'Bounds with default enrichment', 'Bounds with default enrichment''
------------------------------------------------------------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost relative runtime-complexity with respect to
Strict Rules: {f(0()) -> s(0())}
Weak Rules:
{ f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))
, f(s(0())) -> s(0())}
Details:
The problem was solved by processor 'Bounds with default enrichment':
'Bounds with default enrichment'
--------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost relative runtime-complexity with respect to
Strict Rules: {f(0()) -> s(0())}
Weak Rules:
{ f(s(s(x))) -> f(f(s(x)))
, f^#(s(s(x))) -> c_2(f^#(f(s(x))))
, f(s(0())) -> s(0())}
Details:
The problem is Match-bounded by 0.
The enriched problem is compatible with the following automaton:
{ f_0(3) -> 6
, f_0(6) -> 6
, 0_0() -> 2
, s_0(2) -> 3
, s_0(2) -> 6
, s_0(3) -> 3
, f^#_0(2) -> 4
, f^#_0(3) -> 4
, f^#_0(6) -> 5
, c_2_0(5) -> 4}
3) {f^#(0()) -> c_0()}
The usable rules for this path are empty.
We have oriented the usable rules with the following strongly linear interpretation:
Interpretation Functions:
f(x1) = [0] x1 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
f^#(x1) = [0] x1 + [0]
c_0() = [0]
c_1() = [0]
c_2(x1) = [0] x1 + [0]
We have applied the subprocessor on the resulting DP-problem:
'Weight Gap Principle'
----------------------
Answer: YES(?,O(n^1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {f^#(0()) -> c_0()}
Weak Rules: {}
Details:
We apply the weight gap principle, strictly orienting the rules
{f^#(0()) -> c_0()}
and weakly orienting the rules
{}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{f^#(0()) -> c_0()}
Details:
Interpretation Functions:
f(x1) = [0] x1 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
f^#(x1) = [1] x1 + [1]
c_0() = [0]
c_1() = [0]
c_2(x1) = [0] x1 + [0]
Finally we apply the subprocessor
'Empty TRS'
-----------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {}
Weak Rules: {f^#(0()) -> c_0()}
Details:
The given problem does not contain any strict rules